package com.javaapi.designmode.builder;

public class ManBuider implements IPersonBuilder {

	Person person = null;

	public ManBuider() {
		person = new Man();
	}

	@Override
	public void buildHead() {
		person.setBody("build man head");
	}

	@Override
	public void buildBody() {
		person.setFoot("build man body");
	}

	@Override
	public void buidFoot() {
		person.setHead("build man foot");
	}

	@Override
	public Person buildPerson() {
		return person;
	}

}
